/**
 * Project of Vehicle Routing Problem with Time Windows implements 
 * some of well-known algorithms for solving VRPTW and presents new 
 * one.
 *
 * @author Michal Drobny  
 */

package logic.restriction.interfaces;

/**
 * Represents the facts, that object implements this interface contains
 * capacity. Capacity can be represented by various types. The current type is
 * represented by generic type T.
 * 
 * @author Michal Drobny
 * @date 3.10.2014
 */
public interface HasCapacity<T extends Comparable<T>> {

	/**
	 * Getter for capacity.
	 * 
	 * @return The capacity
	 */
	T getCapacity();
}